package com.irdstudio.efp.esb.api.bean.psd.precredit.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface.psd;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 需求编号：【2019D1218】（普税贷需求）
 * 问题编号：【2019D1218】（普税贷预授信申请信息查询请求Bean）
 * 开发人员：【ludayong】
 * 创建日期：【2019/11/20 10:11】
 * 功能描述：
 */

public class NlsPsdPreCreditApprReqBean implements Serializable {

    /** 渠道申请号*/
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 128, groups = {psd.class})
    @JSONField(name = "ChanAppNo")
    private String chanAppNo;

    /** 纳税人识别号*/
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 32, groups = {psd.class})
    @JSONField(name = "TaxpyrIdntfNo")
    private String taxpyrIdntfNo;

    /** 企业注册地址*/
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 128, groups = {psd.class})
    @JSONField(name = "EntpRgstAddr")
    private String entpRgstAddr;

    /** 推荐人工号*/
    @Length(max = 20, groups = {psd.class})
    @JSONField(name = "RefrId")
    private String refrId;

    /** 推荐人所属机构号*/
    @Length(max = 32, groups = {psd.class})
    @JSONField(name = "RefrBlngBrchNo")
    private String refrBlngBrchNo;

    /** 产品代码*/
    @NotNull(groups = {psd.class})
    @NotEmpty(groups = {psd.class})
    @Length(max = 11, groups = {psd.class})
    @JSONField(name = "PdCd")
    private String pdCd;

    public String getChanAppNo() {
        return chanAppNo;
    }

    public void setChanAppNo(String chanAppNo) {
        this.chanAppNo = chanAppNo;
    }

    public String getTaxpyrIdntfNo() {
        return taxpyrIdntfNo;
    }

    public void setTaxpyrIdntfNo(String taxpyrIdntfNo) {
        this.taxpyrIdntfNo = taxpyrIdntfNo;
    }

    public String getEntpRgstAddr() {
        return entpRgstAddr;
    }

    public void setEntpRgstAddr(String entpRgstAddr) {
        this.entpRgstAddr = entpRgstAddr;
    }

    public String getRefrId() {
        return refrId;
    }

    public void setRefrId(String refrId) {
        this.refrId = refrId;
    }

    public String getRefrBlngBrchNo() {
        return refrBlngBrchNo;
    }

    public void setRefrBlngBrchNo(String refrBlngBrchNo) {
        this.refrBlngBrchNo = refrBlngBrchNo;
    }

    public String getPdCd() {
        return pdCd;
    }

    public void setPdCd(String pdCd) {
        this.pdCd = pdCd;
    }
}
